package com.sunzm.dynamic_rule.pojo;

import com.sunzm.dynamic_rule.service.QueryRouterV4;

/**
 * 封装要insert到drools kiesession中数据的fact实体
 *
 * @author Administrator
 * @version 1.0
 * @date 2021-07-19 2:22
 */
public class DroolFact {
    private LogBean logBean;

    private RuleParam ruleParam;

    private QueryRouterV4 queryRouter;

    private boolean match;

    public DroolFact() {
    }

    public DroolFact(LogBean logBean, RuleParam ruleParam, QueryRouterV4 queryRouter, boolean match) {
        this.logBean = logBean;
        this.ruleParam = ruleParam;
        this.queryRouter = queryRouter;
        this.match = match;
    }

    public LogBean getLogBean() {
        return logBean;
    }

    public void setLogBean(LogBean logBean) {
        this.logBean = logBean;
    }

    public RuleParam getRuleParam() {
        return ruleParam;
    }

    public void setRuleParam(RuleParam ruleParam) {
        this.ruleParam = ruleParam;
    }

    public QueryRouterV4 getQueryRouter() {
        return queryRouter;
    }

    public void setQueryRouter(QueryRouterV4 queryRouter) {
        this.queryRouter = queryRouter;
    }

    public boolean isMatch() {
        return match;
    }

    public void setMatch(boolean match) {
        this.match = match;
    }
}
